<html>
<head>
    <title>update</title>
</head>
<body>
<div style="width: 800px">
    <form id="forms" class="form-horizontal" role="form">
        <input type="hidden" name="uid" th:value="${t.uid}">
        <div class="form-group">
            <label for="firstname" class="col-sm-2 control-label">用户名:</label>
            <div class="col-sm-4">
                <input type="text" class="form-control" id="firstname" placeholder="请输入用户名" name="username"
                       th:value="${t.username}">
            </div>
        </div>
        <div class="form-group">
            <label for="a" class="col-sm-2 control-label">密码:</label>
            <div class="col-sm-4">
                <input type="text" class="form-control" id="a" placeholder="请输入密码" name="password"
                       th:value="${t.password}">
            </div>
        </div>
        <div class="form-group">
            <label for="b" class="col-sm-2 control-label">真实姓名:</label>
            <div class="col-sm-4">
                <input type="text" class="form-control" id="b" placeholder="请输入真实姓名" name="name" th:value="${t.name}">
            </div>
        </div>
        <div class="form-group">
            <label for="lastname" class="col-sm-2 control-label">出生日期:</label>
            <div class="col-sm-4">
                <input type="date" class="form-control" id="lastname" placeholder="出生日期" name="birthday"
                       th:value="${#dates.format(t.birthday,'yyyy-MM-dd')}">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">员工性别:</label>
            <div class="col-sm-4">
                <input type="radio" name="sex" value="1" th:checked="${t.sex == 1}">男
                <input type="radio" name="sex" value="2" th:checked="${t.sex == 2}">女
            </div>
        </div>
        <div class="form-group">
            <label for="q" class="col-sm-2 control-label">手机号:</label>
            <div class="col-sm-4">
                <input type="text" class="form-control" id="q" placeholder="请输入手机号" name="telephone"
                       th:value="${t.telephone}">
            </div>
        </div>
        <div class="form-group">
            <label for="w" class="col-sm-2 control-label">邮箱:</label>
            <div class="col-sm-4">
                <input type="email" class="form-control" id="w" placeholder="请输入邮箱" name="email" th:value="${t.email}">
            </div>
        </div>
        <div class="form-group">
            <label for="firstname" class="col-sm-2 control-label">账号状态:</label>
            <div class="col-sm-4">
                <div class="form-group">
                    <select class="form-control" name="status">
                        <option value="1"
                                th:selected="${t.status == 1}"
                        >正常
                        </option>
                        <option value="2"
                                th:selected="${t.status == 2}"
                        >冻结
                        </option>
                    </select>
                </div>
            </div>
        </div>
    </form>
</div>
</body>
</html>
